﻿<Window x:Class="WpfTestApplication.ListViewTestWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:System="clr-namespace:System;assembly=mscorlib"
    xmlns:WpfTestApplication="clr-namespace:WpfTestApplication"
    Title="ListViewTestWindow" Height="328" Width="519" DataContext="{Binding RelativeSource={RelativeSource Self}}">
    <Grid>
        <ListView Margin="12,49,0,0" Name="listViewSimple" Height="85" VerticalAlignment="Top" HorizontalAlignment="Left" Width="185">
            <ListViewItem Name="item1">Item 1</ListViewItem>
            <ListViewItem Name="item2">Item 2</ListViewItem>
            <ListViewItem Name="item3">
                <CheckBox Name="item3CheckBox">
                    <StackPanel Orientation="Horizontal">
                        <TextBlock Text="Select me!"></TextBlock>
                    </StackPanel>
                </CheckBox>
            </ListViewItem>
        </ListView>
        <Label Height="28" HorizontalAlignment="Left" Margin="12,15,0,0" Name="label1" VerticalAlignment="Top" Width="120">Simple ListView</Label>
        <Label Height="28" HorizontalAlignment="Left" Margin="12,0,0,113" Name="label2" VerticalAlignment="Bottom" Width="120">Empty ListView</Label>
        <ListView Height="100" Margin="16,0,0,12" Name="listViewEmpty" VerticalAlignment="Bottom" HorizontalAlignment="Left" Width="181" />
    </Grid>
</Window>
